﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using DTO;

namespace BLL
{
    public class HoaDon_BLL
    {
        HoaDon_DAL data = new HoaDon_DAL();
        public void ThemHoaDon(HoaDon_DTO hd)
        {
            data.ThemHoaDon(hd);
        }
        public List<HoaDon_DTO> DS_HoaDon()
        {
            return data.DS_HoaDon();
        }

        public List<HoaDon_DTO> DS_HoaDonTheoMaHS(int mahs)
        {
            return data.DS_HoaDonTheoMaHS(mahs);
        }
    }
}
